package org.oslims.client.service;

import java.util.List;

import org.oslims.domain.Department;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("departmentService")
public interface DepartmentService extends RemoteService {

	public void editDepartment(Department department);

	public void deleteDepartment(Department department);

	public List<Department> getAllDepartments();

	public List<Department> getAllDepartments(int start, int length, String sortBy, boolean desc);

	public Integer getDepartmentCount();
}
